package compute

import (
	openapi "github.com/alibabacloud-go/darabonba-openapi/v2/client"
)

type CloudComputeInterface interface {
	ECSGreeter
}

type Compute struct {
	config *openapi.Config
}

func NewCompute(config *openapi.Config) CloudComputeInterface {
	return &Compute{
		config: config,
	}
}

func (c *Compute) ECS(region string) ECSInterface {
	return newECS(c, region)
}
